package com.example.myerp.mapper;

import com.example.myerp.pojo.Inbound_Scheduling;
import com.example.myerp.pojo.S_gather_details;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author zhuxingyu
 * @since 2021-08-20
 */
public interface S_gather_detailsMapper extends BaseMapper<S_gather_details> {
    void insertS_gather_details(S_gather_details S_gather_details);
    void  insertS_gather_details2 (S_gather_details S_gather_details);
    List<Inbound_Scheduling> selInSch(Long parentId);

    void updInbSch(Inbound_Scheduling Ins);

    Integer selInbSchCount(Long parentId);

    Integer selInbSchCount_p(Long parentId);

    void updasthdea(@Param("num") Integer num, @Param("id") Long id);

    void updasthOver(@Param("num") Integer num, @Param("id") Long id);

    List<S_gather_details> scIGthMapDet(Long id);
    List<S_gather_details>selPrentId(Long parent);
}
